//---------------------------------------------------------------------------
//	Greenplum Database
//	Copyright (C) 2018 Pivotal, Inc.
//
//	@filename:
//		CInnerJoinStatsProcessor.h
//
//	@doc:
//		Processor for computing statistics for Inner Join
//---------------------------------------------------------------------------
#ifndef GPNAUCRATES_CInnerJoinStatsProcessor_H
#define GPNAUCRATES_CInnerJoinStatsProcessor_H

#include "naucrates/statistics/CJoinStatsProcessor.h"


namespace gpnaucrates
{
	class CInnerJoinStatsProcessor : public CJoinStatsProcessor
	{
		public:
			// inner join with another stats structure
			static
			CStatistics *CalcInnerJoinStatsStatic
					(
					CMemoryPool *mp,
					const IStatistics *outer_stats_input,
					const IStatistics *inner_stats_input,
					CStatsPredJoinArray *join_preds_stats
					);
	};
}

#endif // !GPNAUCRATES_CInnerJoinStatsProcessor_H

// EOF

